//
//  PPCalendarModel.swift
//  PPKit
//
//  Created by xiaopin on 2021/12/5.
//  Copyright © 2021 sowell.com. All rights reserved.
//

import UIKit

class PPCalendarMonthModel {
    /// yyyy年MM月，或其他语言形式
    var yearMonth:String = ""
    var year:Int = 0
    var month:Int = 0
    /// 日集合
    var days = [PPCalendarDayModel]()
}

class PPCalendarDayModel {
    /// 日期
    var date:Date?
    /// yyyy-MM-dd
    var dateValue:String = ""
    /// 每月的几号
    var value:Int = 0
    /// 星期几值
    var weekday:Int = 0
    
    //业务属性
    /// value下面的小文本
    var text:String = ""
}

class PPCalendarTextModel {
    /// 日期yyyy-MM-dd
    var date:String = ""
    /// 文本
    var text:String = ""
}
